import type { teacherType, getP, ScoreListType } from "@/types/teacher";
import outHttp from "@/utils/request/httpOutRequest.ts";

export const getPro = (data: getP) => outHttp.get("project-distribute/getListByGroupId", {
    params: data
})

export const standardList = (data: {}) => outHttp.get<ScoreListType[]>("standard/getStandardList", {
    params: data
});

export const scoreSave = (data) => outHttp.post("mark/save", data)

// 获取评分状态
export const getStatus = (data) => outHttp.post("project-distribute/getStatusByTeacherId", data)

// import http from "@/utils/request/httpRequest.ts";
// export const getPro = (data: getP) => http.get("project-distribute/getListByGroupId", {
//     params: data
// })
//
// export const standardList = (data: {}) => http.get<ScoreListType[]>("standard/getStandardList", {
//     params: data
// });
//
// export const scoreSave = (data) => http.post("mark/save", data)
//
// // 获取评分状态
// export const getStatus = (data) => http.post("project-distribute/getStatusByTeacherId", data)